package com.example.spinning.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.sql.Timestamp;

/**
 * @author bayernxmt
 * @create 2020-07-19-19:57
 */
public class CombedCotton {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String batch_no;
    private String name;
    private String workshop;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Timestamp date;
    private String machine_type;
    private Float weight;
    private Integer cylinder_speed;
    private Integer doffer_speed;
    private Integer licker_in;
    private String gauge_length;
    private Integer feed_plate_to_licker_in;
    private Integer licker_in_to_cylinder;
    private Integer cylinder_to_cover_plate;
    private Integer cylinder_to_doffer;
    private Integer doffer_to_stripper;
    private Integer two_smooth_rollers;

    @Override
    public String toString() {
        return "CombedCotton{" +
                "id=" + id +
                ", batch_no='" + batch_no + '\'' +
                ", name='" + name + '\'' +
                ", workshop='" + workshop + '\'' +
                ", date=" + date +
                ", machine_type='" + machine_type + '\'' +
                ", weight=" + weight +
                ", cylinder_speed=" + cylinder_speed +
                ", doffer_speed=" + doffer_speed +
                ", licker_in=" + licker_in +
                ", gauge_length='" + gauge_length + '\'' +
                ", feed_plate_to_licker_in=" + feed_plate_to_licker_in +
                ", licker_in_to_cylinder=" + licker_in_to_cylinder +
                ", cylinder_to_cover_plate=" + cylinder_to_cover_plate +
                ", cylinder_to_doffer=" + cylinder_to_doffer +
                ", doffer_to_stripper=" + doffer_to_stripper +
                ", two_smooth_rollers=" + two_smooth_rollers +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBatch_no() {
        return batch_no;
    }

    public void setBatch_no(String batch_no) {
        this.batch_no = batch_no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getWorkshop() {
        return workshop;
    }

    public void setWorkshop(String workshop) {
        this.workshop = workshop;
    }

    public Timestamp getDate() {
        return date;
    }

    public void setDate(Timestamp date) {
        this.date = date;
    }

    public String getMachine_type() {
        return machine_type;
    }

    public void setMachine_type(String machine_type) {
        this.machine_type = machine_type;
    }

    public Float getWeight() {
        return weight;
    }

    public void setWeight(Float weight) {
        this.weight = weight;
    }

    public Integer getCylinder_speed() {
        return cylinder_speed;
    }

    public void setCylinder_speed(Integer cylinder_speed) {
        this.cylinder_speed = cylinder_speed;
    }

    public Integer getDoffer_speed() {
        return doffer_speed;
    }

    public void setDoffer_speed(Integer doffer_speed) {
        this.doffer_speed = doffer_speed;
    }

    public Integer getLicker_in() {
        return licker_in;
    }

    public void setLicker_in(Integer licker_in) {
        this.licker_in = licker_in;
    }

    public String getGauge_length() {
        return gauge_length;
    }

    public void setGauge_length(String gauge_length) {
        this.gauge_length = gauge_length;
    }

    public Integer getFeed_plate_to_licker_in() {
        return feed_plate_to_licker_in;
    }

    public void setFeed_plate_to_licker_in(Integer feed_plate_to_licker_in) {
        this.feed_plate_to_licker_in = feed_plate_to_licker_in;
    }

    public Integer getLicker_in_to_cylinder() {
        return licker_in_to_cylinder;
    }

    public void setLicker_in_to_cylinder(Integer licker_in_to_cylinder) {
        this.licker_in_to_cylinder = licker_in_to_cylinder;
    }

    public Integer getCylinder_to_cover_plate() {
        return cylinder_to_cover_plate;
    }

    public void setCylinder_to_cover_plate(Integer cylinder_to_cover_plate) {
        this.cylinder_to_cover_plate = cylinder_to_cover_plate;
    }

    public Integer getCylinder_to_doffer() {
        return cylinder_to_doffer;
    }

    public void setCylinder_to_doffer(Integer cylinder_to_doffer) {
        this.cylinder_to_doffer = cylinder_to_doffer;
    }

    public Integer getDoffer_to_stripper() {
        return doffer_to_stripper;
    }

    public void setDoffer_to_stripper(Integer doffer_to_stripper) {
        this.doffer_to_stripper = doffer_to_stripper;
    }

    public Integer getTwo_smooth_rollers() {
        return two_smooth_rollers;
    }

    public void setTwo_smooth_rollers(Integer two_smooth_rollers) {
        this.two_smooth_rollers = two_smooth_rollers;
    }
}
